package net.uhuijia.sys.sysversion.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.uhuijia.appbase.service.BaseService;
import net.uhuijia.sys.sysversion.persistence.model.SysVersion;
import net.uhuijia.sys.sysversion.persistence.model.SysVersionExample;


@Service
@Transactional
public interface SysVersionService
     extends BaseService<SysVersion,SysVersionExample> {
    /**
     * 查找安卓当前最新的版本信息
     * @param project 项目名称
     * @return
     */
    SysVersion getProjectAndroidVersion(String project);

    /**
     * 查找苹果当前最新的版本信息
     * @param project 项目名称
     * @return
     */
    SysVersion getProjectIosVersion(String project);
}